import numpy as np
x=np.zeros((8,8),dtype=int)
m=[1,0,1,0,1,0,1,0]
n=[0,1,0,1,0,1,0,1]
i=0
while i<8:
    if i%2==0:
       x[i]=m
    else:
        x[i]=n
    i+=1
print(x)
